home *** CD-ROM | disk | FTP | other *** search
- #pragma once
- /*****
- *
- * PrefUtil.h
- *
- * This is a support file for "Grant's CGI Framework".
- * Please see the license agreement that accompanies the distribution package
- * for licensing details.
- *
- * Copyright ©1995 by Grant Neufeld
- * grant@acm.com
- * http://arpp1.carleton.ca/grant/
- *
- *****/
-
- /*** CONSTANT DECLARATIONS ***/
-
- #define kPrefResType 'Pref'
- #define kPrefFileType 'pref'
-
- #define krPrefStartupThreads 0
- #define krPrefQuitOnIdle 2
- #define krPrefIdleTimeBeforeQuit 4
-
-
- /*** TYPE DECLARATIONS ***/
-
- /*** GLOBAL DECLARATIONS ***/
-
- #ifdef __MainSegment__
- #define _GLOBAL_
- #else
- #define _GLOBAL_ extern
- #endif
-
- _GLOBAL_ short gPrefStartupThreads;
- _GLOBAL_ Boolean gPrefQuitOnIdle;
- _GLOBAL_ long gPrefIdleTimeBeforeQuit;
-
- #undef _GLOBAL_
-
-
- /*** FUNCTION PROTOTYPES ***/
-
- void PrefStartup ( void );
-
- void PrefSaveItem ( short, ResType, void *, short );
- OSErr PrefCreateFile ( void );
- OSErr PrefOpenFile ( void );
- OSErr PrefCloseFile ( void );
-
-
- /***** EOF *****/
-